﻿



div[data-type="window"] *[data-width="thinnest"] { width: 20px }
div[data-type="window"] *[data-width="thinner"]  { width: 35px }
div[data-type="window"] *[data-width="thin"]     { width: 45px }
div[data-type="window"] *[data-width="default"]  { width: 60px }
div[data-type="window"] *[data-width="wide"]     { width: 75px }
div[data-type="window"] *[data-width="wider"]    { width: 90px }
div[data-type="window"] *[data-width="widest"]   { width: 105px }

/*
attr() dans calc() pas encore suporté

div[data-type="window"].gui_center {
 position : absolute;
 top: -moz-calc(100% - 50% - (attr(height) / 2));
 left: -moz-calc(100% - 50% - (attr(width) / 2));
 top: -webkit-calc(100% - 50% - (attr(height) / 2));
 left: -webkit-calc(100% - 50% - (attr(width) / 2));
 top: calc(100% - 50% - (attr(height) / 2));
 left: calc(100% - 50% - (attr(width) / 2));
}
*/

/* formatage */

[data-effect="window"] [data-type] {
	margin: 3px 3px 3px 3px !important;
}




[data-type="window"] {
	position: absolute !important;
	min-width: 100px !important;
	min-height:  20px !important;
 	width: auto;
	height:  auto;
	overflow: hidden;
	padding: 0px 0px 0px 0px;
	font-family: Arial, sans-serif;
	font-size: small;
  	cursor: default;

	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;



/*
	-webkit-perspective: 600px; /* larger the value, the less pronounced the 3D effect */
	-moz-perspective: 600px;
	-o-perspective: 600px;
	perspective: 600px;
*/

}



/* titlebar */
[data-effect="titlebar_minimize"] {
	width: 20px;
	height: 20px;
	background-repeat: no-repeat !important;
	float: right;
	margin: 0px 0px 0px 0px;
	cursor: default;
}

[data-effect="titlebar_tools"] {
	width: 20px;
	height: 20px;
	background-repeat: no-repeat !important;
	float: left;
	margin: 0px 0px 0px 0px;
	cursor: default;
}


[data-effect="titlebar_maximize"] {
	width: 20px;
	height: 20px;
	background-repeat: no-repeat !important;
	float: right;
 	margin: 0px 0px 0px 0px;
	cursor: default;

}

div[data-effect="titlebar_close"] {
	width: 20px;
	height: 20px;
	background-repeat: no-repeat !important;
	float: right;
	margin: 0px 0px 0px 0px;
	cursor: default;

	/*right: -80px;
*/
}

[data-effect="titlebar_caption"] {
	font-family: Times;
	font-size: medium;
	vertical-align: middle;
	text-align: center;
	-o-text-overflow: ellipsis !important; /* pour Opera 9 */
	text-overflow: ellipsis !important; /* pour le reste du monde */
	/*width: 100%;*/
	height:100%;
	overflow: hidden !important;
	display: block;
	white-space: nowrap !important;
}


[data-effect="titlebar"] {
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;
	overflow: hidden !important;
	cursor: move;
	box-sizing: border-box !important;

/*
	height:1.5em;
	width: 100%;
 	margin: 0px 0px 4px 0px;
*/
}


[data-effect="window"] * {
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;
	/*position: relative !important;*/
}


[data-effect='modal']
{
	background-color: rgba(0,0,0,0.6);
	position:absolute !important;
	top:0px !important;
	left:0px !important;
	z-index : 90500000 !important;
}

.modal
{
	z-index : 91000000 !important;
}


